/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ProcessModeEnum extends StringEnum
{
    public static final String ONESELF_VALUE = "10";
    public static final String URGENCY_VALUE = "20";
    public static final String ROUTINE_VALUE = "30";
    public static final String WARRANTY_VALUE = "40";

    public static final ProcessModeEnum oneself = new ProcessModeEnum("oneself", ONESELF_VALUE);
    public static final ProcessModeEnum urgency = new ProcessModeEnum("urgency", URGENCY_VALUE);
    public static final ProcessModeEnum routine = new ProcessModeEnum("routine", ROUTINE_VALUE);
    public static final ProcessModeEnum Warranty = new ProcessModeEnum("Warranty", WARRANTY_VALUE);

    /**
     * construct function
     * @param String processModeEnum
     */
    private ProcessModeEnum(String name, String processModeEnum)
    {
        super(name, processModeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ProcessModeEnum getEnum(String processModeEnum)
    {
        return (ProcessModeEnum)getEnum(ProcessModeEnum.class, processModeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ProcessModeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ProcessModeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ProcessModeEnum.class);
    }
}